From 2dd00b89d70b23423443a0b7ac6177dde0ed811e Mon Sep 17 00:00:00 2001 From: "cl349@freefall.cl.cam.ac.uk" Date: Sat, 28 Aug 2004 09:23:15 +0000 Subject: [PATCH] bitkeeper revision 1.1159.53.21 (41304f03AEY0D00K1DyuV8kwtvilfQ) Always enable our console so that we get console output even if the actual console is on the vga or other display. --- linux-2.6.8.1-xen-sparse/drivers/xen/console/console.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linux-2.6.8.1-xen-sparse/drivers/xen/console/console.c b/linux-2.6.8.1-xen-sparse/drivers/xen/console/console.c index 8657a426c8..d8a28bf153 100644 --- a/linux-2.6.8.1-xen-sparse/drivers/xen/console/console.c +++ b/linux-2.6.8.1-xen-sparse/drivers/xen/console/console.c @@ -158,6 +158,10 @@ void xen_console_init(void) if ( xc_mode == XC_DEFAULT ) xc_mode = XC_SERIAL; kcons_info.write = kcons_write_dom0; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) + if ( xc_mode == XC_SERIAL ) + kcons_info.flags |= CON_ENABLED; +#endif } else { -- 2.30.2